package com.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *  @Description: 班组信息
 *  @author  SLH
 *  @date  20170228
 */
@Entity
@Table(name = "yl_team_info")
public class TeamInfo implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	
	/** 主键 **/
	private Integer id;
	
	/**班组编码**/
	private String bzId;
	
	/**班组名称**/
	private String bzName;
	
	/**班组状态**/
	private String state;
	
	/**班组说明**/
	private String remark;
	
	/**显示字段**/
	private String showcol;
	
	/**单位编码**/
	private String orgNo;
	
	/**单位名称**/
	private String orgName;

	@Id
	@GeneratedValue (strategy = GenerationType.IDENTITY) 
	@Column(name ="ID",nullable=false,length=10)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name ="bz_id")
	public String getBzId() {
		return bzId;
	}

	public void setBzId(String bzId) {
		this.bzId = bzId;
	}

	@Column(name ="bz_name")
	public String getBzName() {
		return bzName;
	}

	public void setBzName(String bzName) {
		this.bzName = bzName;
	}

	@Column(name ="state")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Column(name ="remark")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name ="showcol")
	public String getShowcol() {
		return showcol;
	}

	public void setShowcol(String showcol) {
		this.showcol = showcol;
	}
	
	@Column(name ="orgNo")
	public String getOrgNo() {
		return orgNo;
	}

	@Column(name ="orgName")
	public String getOrgName() {
		return orgName;
	}

	public void setOrgNo(String orgNo) {
		this.orgNo = orgNo;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	
}
